<template>
  <div class='Path_Intellisense'>
    <h1>路径自动提示</h1>
    插件： Path_Intellisense
    版本： 1.4.2（此版本才能识别vue的template的src路径）
    配合jsconfig.json文件使用
    <code>
      {
        "compilerOptions": {
          "baseUrl": ".",
          "paths": {
            "@/*": ["src/*"]
          },
          "target": "ES6",
          "module": "commonjs",
          "allowSyntheticDefaultImports": true
        },
        "include": ["src/**/*"],
        "exclude": ["node_modules"]
      }
    </code>
    vue.config.js相关配置
    <code>
      module.exports = {
        configureWebpack: {
          resolve: {
            alias: {
              "@": resolvePath("src"),
              "@icon": resolvePath("src/assets/icon"),
              "@image": resolvePath("src/assets/im/"),
              "@css": resolvePath("src/assets/css/"),
            },
          },
        },
      };
    </code>
  </div>
</template>

<script>
export default {
  data(){
   return {

   }
  },
 created (){
 },
}
</script>

<style lang='less' scoped>
.Path_Intellisense{

}
</style>
